package org.wlgzs.shop.bean;

import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class OrderPersonData {

    /**
     *
     *订单id
     */
    private Integer orderId;

    /**
     *
     *收货人姓名
     */
    @NotNull
    private String receiverName;

    /**
     *
     *收货人电话
     */
    @NotNull
    private Integer receiverPhone;

    /**
     *
     *省份
     */
    @NotNull
    private String receiverState;

    /**
     *
     *城市
     */
    @NotNull
    private String receiverCity;

    /**
     *
     *区/县
     */
    @NotNull
    private String receiverDistrict;

    /**
     *
     *收货地址
     */
    @NotNull
    private String receiverAddress;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    public Integer getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(Integer receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverState() {
        return receiverState;
    }

    public void setReceiverState(String receiverState) {
        this.receiverState = receiverState == null ? null : receiverState.trim();
    }

    public String getReceiverCity() {
        return receiverCity;
    }

    public void setReceiverCity(String receiverCity) {
        this.receiverCity = receiverCity == null ? null : receiverCity.trim();
    }

    public String getReceiverDistrict() {
        return receiverDistrict;
    }

    public void setReceiverDistrict(String receiverDistrict) {
        this.receiverDistrict = receiverDistrict == null ? null : receiverDistrict.trim();
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
    }
}